package com.joysuch.wwyt.mh.bean;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Leong
 * @date 2022/9/21 15:13
 */
@Data
@ApiModel(value = "报警等级")
public class MhAlarmLevelConfigBean implements Serializable {

    @ApiModelProperty("id")
    @NotNull
    private Long id;

    @NotNull(field = "超限等级")
    @ApiModelProperty("数值超限等级:1低限;2高限;3低低限;4高高限")
    private Integer alarmLevel;

    @NotNull(field = "报警级别")
    @ApiModelProperty("报警级别:1蓝;2黄;3橙;4红")
    private Integer level;

}
